home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970929-19971216
/
000150_news@newsmaster….columbia.edu _Mon Oct 20 11:25:08 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA06878
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 20 Oct 1997 11:25:07 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA11064
for kermit.misc@watsun; Mon, 20 Oct 1997 11:25:07 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: login script beeps unexpectedly
Date: 20 Oct 1997 15:25:04 GMT
Organization: Columbia University
Lines: 89
Message-ID: <62ft4g$j94$1@apakabar.cc.columbia.edu>
References: <62ejvl$fpk$1@eskinews.eskimo.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:7928
In article <62ejvl$fpk$1@eskinews.eskimo.com>,
Jim Osborn <jimo@eskimo.com> wrote:
: I use the following macro to connect with my ISP...
:
And which Kermit program are you using?
: ... and to reject the
: one line of theirs I know to be unreliable, restarting the dialing
: process if I detect that line. I'd like the thing to beep at me
: when it eventually connects, so I know to drop whatever else I'm
: doing, but to stay quiet otherwise.
:
: For some reason, this macro beeps every time it finds the bad modem
: and restarts. Can someone explain why?
:
It's not obvious from your script, but if INPUT ECHO is ON, and if the
service sends a beep character, then Kermit will echo it.
You can suppress host-generated beeps during terminal emulation and INPUT
echo with:
SET TERMINAL BELL NONE
: One minor question: can someone explain the difference between the
: apparently undocumented "beep" command (can't find reference to it
: in the CK60 book, other than its use in a script example)...
:
It's on page 40, but you're right, it's missing from the index.
It just rings the bell or beeps, whatever your console is set up to
do normally when it gets an ASCII BEL character.
: and the
: good old "echo \007" command? The effects are very different.
:
So you must be using Kermit 95. In this case, the BEEP command can produce
different sounds, according to:
SET BELL { AUDIBLE { BEEP, SYSTEM-SOUNDS }, VISIBLE, NONE }
This command tells how bell (beep) characters / noises should be sounded or
displayed. VISIBLE means to flash the screen rather than making a noise.
AUDIBLE means to make a noise, which can be either the standard "beep", or
else "System sounds" that give you three different noises for "information",
"warning", and "error".
(end quote from K95\DOCS\TERMINAL.DOC). Also the BEEP command itself has
extra syntax in K95:
BEEP { ERROR, INFORMATION, WARNING }
The default sound is INFORMATION.
The actual sounds for each type of bell are set in your control panel.
: define eskimo {
: while not defined \%1 {
: askq \%1 {Eskimo Password: }
: }
: :retry
: dial 258-0759
: in 30 {Your Selection ==>} #Initial selector, choose service
: output 1\13 #Select Eskimo
: in 60 login: #Start login process
: out jimo\13 #Look for: Hello ,CLI,,27,xxx@seattle2
: clear input
: in 30 {Welcome to eskimo.com} #Read Annex ID string
: xif \find({CLI,,27},\v(input)) { #Start over if toxic modem
: xif \find({@seattle2},\v(input)) {
: echo {Aborting 27,,2}
: goto retry
: }
: }
: in 30 Password:
: out \%1\13
: in 60 {Main Command?}
: out {!} #Start shell
: # beep #doesn't beep until escape back to kermit
: echo \007 #^G
: connect /quietly
: }
"doesn't beep until escape back to kermit" is evidently a bug. It's one of
those buffering things -- you tell the system to write something and it says
"OK I wrote it", but it really just put it in a list of things to do, which
evidently it does not get around to doing until something else forces it to.
We'll see if we can find a way to make the system force the beep out
immediately. In the meantime "echo \007" is a good workaround (James Bond
to the rescue?).
- Frank